package util;

public class StringTrim {
    public static String trimQuotation(String s) {
        if (s.startsWith("\"")) {
            s = s.substring(1);
        }
        if (s.endsWith("\"")) {
            s = s.substring(0, s.length() - 1);
        }
        return s;
    }

    public static void main(String[] args) {
        System.out.println(trimQuotation("\"aaa\""));
    }

}
